Stupid Columnsort Tricks

نویسندگان

  • Geeta Chaudhry
  • Thomas H. Cormen
چکیده

Leighton’s columnsort algorithm sorts on an r × s mesh, subject to the restrictions that s is a divisor of r and that r ≥ 2s2 (so that the mesh is tall and thin). We show how to mitigate both of these restrictions. One result is that the requirement that s is a divisor of r is unnecessary; columnsort sorts correctly whether or not s divides r . We present two algorithms that, as long as s is a perfect square, relax the restriction that r ≥ 2s2; both reduce the exponent of s to 3/2. One algorithm requires r ≥ 4s3/2 if s divides r and r ≥ 6s3/2 if s does not divide r . The other algorithm requires r ≥ 43/2, and it requires s to be a divisor of r . Both algorithms have applications in increasing the maximum problem size in out-of-core sorting programs. This research was supported in part by NSF Grant EIA-98-02068.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Stupid Tool Tricks for Smart Model Based Design

Formal methods tools can be used to detect and prevent errors so researchers assume that industry will use them. We are often frustrated when we see industrial projects where tools could have been used to detect or prevent errors in the final product. Researchers often fail to realize that there is a significant gap between aa potentially useful tool and its use in a standards compliant, commer...

متن کامل

An Eecient Vlsi Architecture for Columnsort

| This paper presents novel VLSI architecture in support of an eecient implementation of Leighton's well-known Columnsort. The designs take advantage of re-conngurable bus architectures enhanced with simple shift switches. Our main contribution is to show that (1) Column-sort can be partitioned into two components of hardware scheme involving sorting arrays of small size and a hardware or softw...

متن کامل

On-Line Debugging and Performance Monitoring with Barriers

We introduce the Stupid Barrier Tricks (SBT) library for on-line debugging and performance monitoring of sharedmemory parallel programs. Single-program-multiple-data (SPMD) programs often use barriers to synchronize threads of execution and to delimit the start and end of different phases of computation. Through the novel (and simple) named barriers construct, dynamic performance warnings, and ...

متن کامل

Don't Be Stupid

We are studying control knowledge for a general problem solver, named BLOCKHEAD. Currently the problem solver is based on negative heuristics, which has led to surprising efficiency in suitable domains. The lesson seems to be that it is easier to avoid being stupid than to try to be smart. Stupid plans are defined and a plan improvement method proposed. Analyses of stupid plans and failed plans...

متن کامل

Realizing arithmetical formulæ

Correct (for the execution) program might be untypable : let stupid n =. if n=n+1 then 27 else trué Etienne Miquey Realizing arithmetical formulae Classical realizability Realizability game Zoology Gender equality Introduction Curry-Howard Correct (for the execution) program might be untypable : let stupid n =. if n=n+1 then 27 else trué Etienne Miquey Realizing arithmetical formulae Classical ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003